﻿using Shiloh.Job.Model.Entities;
using Shiloh.Job.Services.Models;

namespace Shiloh.Job.Api.Models
{
    public class IndividualLoginResponse
    {
        public string? Token { get; set; }
        public string? Username { get; set; }

        //public static IndividualLoginResponse OK(string token, string username)
        //{
        //    return new IndividualLoginResponse()
        //    {
        //        Success = true,
        //        Message = "登录成功",
        //        Token = token,
        //        Username = username
        //    };
        //}

        //public static IndividualLoginResponse Error(string msg)
        //{
        //    return new IndividualLoginResponse()
        //    {
        //        Success = false,
        //        Message = msg
        //    };
        //}

    }
}
